import request from '@/utils/request'

export function getList(params) {
  return request({
    url: 'jeecg-boot/table/list',
    method: 'get',
    params
  })
}

export function queryList() {
  return request({
    url: 'jeecg-boot/web/theMenu/queryList',
    method: 'get',
  })
}

export function getData(param, param1, pageNum) {
  return request({
    url: 'jeecg-boot/web/theMenu/getData' + "?id=" + param + "&name=" + param1 + "&pageNum=" + pageNum,
    method: 'get',
  })
}

export function threeQueryList(id) {
  return request({
    url: 'jeecg-boot/web/theMenu/threeQueryList' + "?id=" + id,
    method: 'get',
  })
}
export function threeQueryDetail(id) {
  return request({
    url: 'jeecg-boot/web/theMenu/threeQueryDetail' + "?id=" + id,
    method: 'get',
  })
}
